package com.wiscamp.ninechapters.problems.adapter.items;

import com.wiscamp.ninechapters.ddd.PersistenceObject;
import lombok.Data;

/**
 * 问题答案
 */
@Data
public class QuestionAnswerDto implements PersistenceObject {

    /**
     * 答案编号
     */
    private long answerId = 0;

    /**
     * 题编号
     */
    private long problemId = 0;

    /**
     * 问题编号
     */
    private long questionId = 0;

    /**
     * 答案编号内容
     */
    private long contentId = 0;

    /**
     * 答案超文本内容
     */
    private String contentHypertext = "";

    /**
     * 解题方法
     */
    private String solution = "";

    /**
     * 答案序号
     */
    private int answerIndex = 0;

    /**
     * 分组序号
     */
    private int groupIndex = 0;

    /**
     * 答案类型
     */
    private int answerType = 0;

    /**
     * 操作：CREATE / UPDATE / DELETE
     */
    private String action = "NONE";
}